<%--
  Created by IntelliJ IDEA.
  User: zhouhong
  Date: 2017/9/18
  Time: 13:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><sitemesh:write property="title"/></title>
    <sitemesh:write property="head"/>
    <%@include file="/WEB-INF/common/resources/resources-js.jsp"%>
    <%@include file="/WEB-INF/common/resources/resources-css.jsp"%>
</head>
<body>
<input id="bodyClass" type="hidden" value="<sitemesh:write property="body.class" />"/>
<sitemesh:write property='body'/>
<script type="text/javascript">
    var config = {
        // How long Waves effect duration
        // when it's clicked (in milliseconds)
        duration: 1000,

        // Delay showing Waves effect on touch
        // and hide the effect if user scrolls
        // (0 to disable delay) (in milliseconds)
        delay: 1000
    };

    // Initialise Waves with the config
    Waves.init(config);
</script>
<script type="text/javascript">
    $(function(){
        if($("#bodyClass")[0] && $("#bodyClass").val() != "")
            $("body").attr("class",$("#bodyClass").val());
    })
</script>
</body>
</html>
